﻿using Ideaa.Data.Models;

namespace Ideaa.Data.Infrastructure
{
    public interface IUnitOfWork
    {
        IRepository<User> Users { get; }

        IRepository<Idea> Ideas { get; }

        IRepository<Suggestion> Suggestions { get; }
        
        IRepository<Vote> Votes { get; }
        int SaveChanges();
    }
}
